package com.zhengshang.api.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhengshang.common.annotation.Excel;
import com.zhengshang.common.core.domain.BaseEntity;

/**
 * 影音分类对象 app_third_column_category
 *
 * @author zhengshang
 * @date 2022-04-11
 */
public class AppThirdColumnCategory extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 分类Id
     */
    private Long thirdColumnCategoryId;

    /**
     * 所属影音
     */
    @Excel(name = "所属影音")
    private Long thirdColumnId;

    /**
     * 分类名称
     */
    @Excel(name = "分类名称")
    private String thirdColumnCategoryName;

    /**
     * 分类排序
     */
    @Excel(name = "分类名称")
    private Integer thirdColumnCategorySort;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    public void setThirdColumnCategoryId(Long thirdColumnCategoryId) {
        this.thirdColumnCategoryId = thirdColumnCategoryId;
    }

    public Long getThirdColumnCategoryId() {
        return thirdColumnCategoryId;
    }

    public void setThirdColumnId(Long thirdColumnId) {
        this.thirdColumnId = thirdColumnId;
    }

    public Long getThirdColumnId() {
        return thirdColumnId;
    }

    public void setThirdColumnCategoryName(String thirdColumnCategoryName) {
        this.thirdColumnCategoryName = thirdColumnCategoryName;
    }

    public String getThirdColumnCategoryName() {
        return thirdColumnCategoryName;
    }

    public Integer getThirdColumnCategorySort() {
        return thirdColumnCategorySort;
    }

    public void setThirdColumnCategorySort(Integer thirdColumnCategorySort) {
        this.thirdColumnCategorySort = thirdColumnCategorySort;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("thirdColumnCategoryId", getThirdColumnCategoryId())
                .append("thirdColumnId", getThirdColumnId())
                .append("thirdColumnCategoryName", getThirdColumnCategoryName())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
